<template>
	<view class="body bgf">
		
		
		<view class="content t-flex colum">
			<image src="../../static/image/06.png" mode="widthFix" class="icon"></image>
			<view class="f30 c3 mt30">
				支付成功
			</view>
			
			<view class="btns t-flex ">
				<view class="btn t-flex center c6 btn1 mr20" @click="$go('/pages/index/index')">返回首页</view>
				<view class="btn t-flex center mainBC cf" @click="booking">预约时间</view>
			</view>
			
		</view>
		
		
		
		
		
	</view>


	
</template>

<script setup>
	import { onLoad } from "@dcloudio/uni-app"
	
	onLoad(options=>{
		id = options.id
	})
	
	let id = 0
	
	const goHome = ()=>{
		uni.reLaunch({
			url:'/pages/index/index'
		})
	}
	
	const booking = ()=>{
		uni.redirectTo({
			url:'/pages/order/booking?id='+id
		})
	}
	
	
</script>

<style scoped lang="scss">
	.body{
		min-height: 100vh;
		padding-top: 1rpx;
		box-sizing: border-box;
	}
	
	.content{
		margin-top: 160rpx;
		.icon{
			width: 174rpx;
		}
		.btns{
			margin-top: 60rpx;
			.btn{
				width: 180rpx;
				height: 68rpx;
				border-radius: 34rpx;
			}
			.btn1{
				border: 2rpx solid #E0E0E0;
			}
		}
	}
	
	
</style>
